package io.io.Pra;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class 读写 {
    public static void main(String[] args) throws IOException{
//        FileOutputStream fileOutputStream = new FileOutputStream("s.txt");
//        fileOutputStream.write(1);
//        fileOutputStream.write(1);
//        fileOutputStream.close();

        FileInputStream fileInputStream = new FileInputStream("s.txt");
        System.out.println(fileInputStream.read());
        System.out.println(fileInputStream.read());

    }
}
